#ifndef XGMESSAGESFACTORY_H
#define XGMESSAGESFACTORY_H

#include "Templates/XgSingleton.h"
#include "Interfaces/XgMessage.h"

/************************************************************************/
/* XgMessageFactory                                                     */
/************************************************************************/
class XgMessagesFactory : public XgSingleton<XgMessagesFactory>
{

friend class XgSingleton<XgMessagesFactory>;

private:
	XgMessagesFactory();
	~XgMessagesFactory();

public:
	static XgMessage* fromWin32Msg(MSG wmsg);

};

#endif //XGMESSAGESFACTORY_H